<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<img v-bind:src="imgUrl" alt="图片丢失了" >
			<a v-bind:href="hrefImg">百度一下</a>
			<!--语法糖 -->
			<img :src="imgUrl" alt="图片丢失了" >
			<a :href="hrefImg">百度一下</a>
		</div>
		<script type="text/javascript">
			const app = new Vue({
				el: '#app',
				data: {
					imgUrl: 'https://www.baidu.com/img/dong_30a61f45c8d4634ca14da8829046271f.gif',
					hrefImg: 'http://www.baidu.com'
				},
				
			})
		</script>
	</body>
</html>
